package com.jpm.jroguefx.types;

public enum MonsterGroups {

    ADULTDRAGON,
    AMAZON,
    ANCIENTDRAGON,
    ANGEL,
    ANT,
    BABYDRAGON,
    BARBARIAN,
    BASILISK,
    BAT,
    BEAR,
    BEETLE,
    BONEDRAGON,
    BUG,
    CENTIPEDE,
    CHICKEN,
    COW,
    CRAWLER,
    CYCLOPS,
    DINOSAUR,
    DOG,
    DRAGONFLY,
    DRAGONMAN,
    DRAKE,
    EAGLE,
    EAGLEHOUND,
    ELEMENTAL,
    ELF,
    EYE,
    FLY,
    FROG,
    GARGOYLE,
    GHOST,
    GHOUL,
    GIANT,
    GNOME,
    GOLEM,
    GRYPHON,
    HALFELF,
    HALFLING,
    HALFOGRE,
    HORSE,
    HUMAN,
    HYDRA,
    IMP,
    JELLYFISH,
    KOBOLD,
    LIZARD,
    MAJORDEMON,
    MISC,
    MOLD,
    MOUND,
    MUMMY,
    MUSHROOM,
    OGRE,
    OLIPHANT,
    OOZE,
    ORC,
    PEOPLE,
    PHANTOM,
    RACE1,
    RACE10,
    RACE11,
    RACE12,
    RACE13,
    RACE14,
    RACE2,
    RACE3,
    RACE4,
    RACE5,
    RACE6,
    RACE7,
    RACE8,
    RACE9,
    RAT,
    SCORPION,
    SKELETON,
    SNAKE,
    SPECTRE,
    SPIDER,
    SPIRIT,
    TRICKSTER,
    TROLL,
    TURTLE,
    UNIQUE,
    VAMPIRE,
    VORTEX,
    WOLF,
    WORM,
    WORMMASS,
    WORMSERPENT,
    WRAITH,
    XORN,
    YETI,
    YOUNGDRAGON,
    ZOMBIE;

    public static MonsterGroups fromString(String name) {
        for (MonsterGroups mg : MonsterGroups.values()) {
            if (name.equalsIgnoreCase(mg.name())) {
                return mg;
            }
        }
        return null;
    }

}
